﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="systemError.aspx.cs" Inherits="PeisongWeb.admin.systemError" %>

<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register TagName="menu" Src="controls/menu.ascx" TagPrefix="uc2" %>
<%@ Register TagName="top" Src="controls/top.ascx" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>系统日志 - 想购网长期采购物流配送系统</title>
    <!--#include file="style.inc"-->
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm1" runat="server">
    </asp:ScriptManager>
    <ext:ScriptManager ID="ScriptManager1" runat="server">
    </ext:ScriptManager>
    <uc1:top ID="Top1" runat="server" />
    <uc2:menu ID="Menu1" runat="server" />
    <div id="admin-body">
        <asp:UpdatePanel runat="server" ID="up1">
            <ContentTemplate>
                <h2 class="section-cms">
                    系统日志
                </h2>
                <div id="admin_list_content" style="width:1200px;">
                    <table cellpadding="0" cellspacing="0" style="width:1200px;">
                        <tr class="header-row">
                            <th width="12%">
                                日期
                            </th>
                            <th width="25%">
                                描述
                            </th>
                            <th width="44%">
                                地址
                            </th>
                            <th width="7%">
                                IP
                            </th>
                            <th width="5%">
                                状态
                            </th>
                            <th width="7%">
                                详细信息
                            </th>
                        </tr>
                        <asp:Repeater ID="rpt_list" runat="server" OnItemCommand="rpt_list_ItemCommand">
                            <ItemTemplate>
                                <tr class='<%# Container.ItemIndex%2==0? "alt":"row-alt"  %>'>
                                    <td>
                                        <%# Eval("slDt")%>
                                    </td>
                                    <td>
                                        <%# Eval("slInfor")%>
                                    </td>
                                    <td>
                                        <%# Eval("slUrl")%>
                                    </td>
                                    <td>
                                        <%# Eval("slIP")%>
                                    </td>
                                    <td>
                                        <%# Convert.ToBoolean(Eval("viewFlag"))==true?"已读":"未读"%>
                                    </td>
                                    <td>
                                        <asp:LinkButton ID="lbt_errorDetail" runat="server" CommandName="details" CommandArgument='<%# Eval("slId") %>' Text="详细信息"></asp:LinkButton>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                    <div id="page">
                        <webdiyer:AspNetPager ID="AspNetPager1" NumericButtonType="Text" MoreButtonType="Text"
                            runat="server" AlwaysShow="False" PageSize="20" InvalidPageIndexErrorMessage="无效页码"
                            PageIndexOutOfRangeErrorMessage="页码超出范围" ShowCustomInfoSection="Left" CustomInfoHTML=" 每页%PageSize%条记录 | 总共%RecordCount%条记录 "
                            CustomInfoTextAlign="Left" HorizontalAlign="Right" OnPageChanged="AspNetPager1_PageChanged"
                            NextPageText="下一页" FirstPageText="首页" LastPageText="末页" PrevPageText="上一页">
                        </webdiyer:AspNetPager>
                    </div>
                </div>
                <ext:Window ID="errorDetails" runat="server" Title="系统日志详细信息" Width="600px" Height="300px"
                    BodyStyle="padding: 6px; background-color: #fff;" AutoScroll="true" Modal="True"
                    Resizable="false" ShowOnLoad="false" Draggable="false" Icon="ApplicationViewDetail">
                    <Body>
                        <div id="admin_edit_content">
                            <ul>
                                <li>
                                    <label for="name">
                                        编号</label>
                                    <asp:Label ID="lbl_id" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        日期</label>
                                    <asp:Label ID="lbl_dt" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        重要性</label>
                                    <asp:Label ID="lbl_severity" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        紧急程度</label>
                                    <asp:Label ID="lbl_exigence" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        地址</label>
                                    <asp:HyperLink ID="hyp_url" runat="server" Target="_blank"></asp:HyperLink>
                                </li>
                                <li>
                                    <label for="name">
                                        用户Email</label>
                                    <asp:Label ID="lbl_user" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        IP</label>
                                    <asp:Label ID="lbl_ip" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        错误信息</label>
                                    <asp:Label ID="lbl_infor" runat="server"></asp:Label>
                                </li>
                                <li>
                                    <label for="name">
                                        建议</label>
                                    <asp:Label ID="lbl_suggest" runat="server"></asp:Label>
                                </li>
                            </ul>
                        </div>
                    </Body>
                </ext:Window>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
